package com.hjq.demo.http.api;

import com.hjq.http.config.IRequestApi;

/**
 * author : Android 轮子哥
 * github : https://github.com/getActivity/AndroidProject
 * time   : 2019/12/07
 * desc   : 添加出货记录
 */
public final class AddShipmentApi implements IRequestApi {

    @Override
    public String getApi() {
        return "shipment/shipment";
    }
    /** 客户名称 */
    private String userId;
    /** 商品名称 */
    private String tradeName;
    /** 商品规格 */
    private String specs;
    /** 商品数量 */
    private String number;
    /** 商品单价 */
    private String unitPrice;
    /** 商品总金额 */
    private String sumOfMoney;
    /** 商品已付金额 */
    private String amountPaid;
    /** 商品未付金额 */
    private String unpaidAmount;
    /** 商品未付金额 */
    private String remark;
    /** 出货记录id */
    private String id;

    /** 选择规格类型 */
    private String subType;


    public AddShipmentApi setSubType(String subType) {
        this.subType = subType;
        return this;
    }
    public AddShipmentApi setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public AddShipmentApi setTradeName(String tradeName) {
        this.tradeName = tradeName;
        return this;
    }

    public AddShipmentApi setSpecs(String specs) {
        this.specs = specs;
        return this;
    }

    public AddShipmentApi setNumber(String number) {
        this.number = number;
        return this;
    }

    public AddShipmentApi setUnitPrice(String unitPrice) {
        this.unitPrice = unitPrice;
        return this;
    }

    public AddShipmentApi setSumOfMoney(String sumOfMoney) {
        this.sumOfMoney = sumOfMoney;
        return this;
    }

    public AddShipmentApi setAmountPaid(String amountPaid) {
        this.amountPaid = amountPaid;
        return this;
    }

    public AddShipmentApi setUnpaidAmount(String unpaidAmount) {
        this.unpaidAmount = unpaidAmount;
        return this;
    }
    public AddShipmentApi setRemark(String remark) {
        this.remark = remark;
        return this;
    }
    public AddShipmentApi setId(String id) {
        this.id = id;
        return this;
    }



    public final class Bean {
    }
}